ChatPhoto

@Serializable
data class ChatPhoto(val smallFileId: String, val smallFileUniqueId: String, val bigFileId: String, val bigFileUniqueId: String)

This object represents a chat photo.

Api reference

Constructors

Link copied to clipboard
constructor(smallFileId: String, smallFileUniqueId: String, bigFileId: String, bigFileUniqueId: String)

Properties

Link copied to clipboard

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

Link copied to clipboard

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Link copied to clipboard

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

Link copied to clipboard

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.